{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Gray figures\Implementing Peace result logs.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res} 2 Jun 2015, 16:42:09
{txt}
{com}. use "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Gray figures\Implementing Peace - JOSHI & QUINN-Final.dta"
{txt}
{com}. 
. 
. //Table 1 Summary Statistics
. sum agg_imp_rate total_prov sig_minor_war nonsig_minor_war conflict_type dead_1000  refugee_1000  net_aid war_dur  infant_rate polity_2_1lag gdp_growth_annual_perc media_ave  if exclude_case==0

{txt}    Variable {c |}       Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 56}
agg_imp_rate {c |}{res}       313    65.46489    21.44867       1.85      95.83
{txt}{space 2}total_prov {c |}{res}       314    21.07643    7.544154          8         43
{txt}sig_minor_~r {c |}{res}       314    .0573248    .2328333          0          1
{txt}nonsig_min~r {c |}{res}       314    .1305732    .3374708          0          1
{txt}conflict_t~e {c |}{res}       314    .4585987    .4990783          0          1
{txt}{hline 13}{c +}{hline 56}
{space 3}dead_1000 {c |}{res}       314    190.7784    476.7848       .025       2300
{txt}refugee_1000 {c |}{res}       314    284.3593    401.6996          0       1700
{txt}{space 5}net_aid {c |}{res}       297    695.5171    640.7237         52       3000
{txt}war_dur_mo~s {c |}{res}       314    135.9172    132.6862          6        433
{txt}{space 1}infant_rate {c |}{res}       307    65.95049    39.23846        4.9      148.1
{txt}{hline 13}{c +}{hline 56}
polity_2_1~g {c |}{res}       304    3.138158     4.94998         -7         10
{txt}gdp_growth~c {c |}{res}       305    4.855917    8.851664   -50.2481    88.9577
{txt}{space 3}media_ave {c |}{res}       314    263.8465     396.793         22   2422.556
{txt}
{com}. 
. 
. //Survival Analysis of CPA with no war the year the peace accord is signed, SSS Conceptualization of all 7 provisions
. 
. //TABLE 2: STSET DATA TO ANALYSE DURABLE PEACE BETWEEN SIGNATORIES
. stset year_count, id(caseid) failure( sig_minor_war) origin(time year_count)

                {txt}id:  {res}caseid
     {txt}failure event:  {res}sig_minor_war != 0 & sig_minor_war < .
{txt}obs. time interval:  {res}(year_count[_n-1], year_count]
{txt} exit on or before:  {res}failure
    {txt}t for analysis:  {res}(time-origin)
            {txt}origin:  {res}time year_count

{txt}{hline 78}
{res}      340{txt}  total observations
{res}       34{txt}  observations end on or before enter()
{res}       70{txt}  observations begin on or after (first) failure
{hline 78}
{res}      236{txt}  observations remaining, representing
{res}       34{txt}  subjects
{res}       10{txt}  failures in single-failure-per-subject data
{res}      236{txt}  total analysis time at risk and under observation
                                              at risk from t = {res}        0
                                   {txt}earliest observed entry t = {res}        0
                                        {txt}last observed exit t = {res}        9
{txt}
{com}. 
. //Testing Implementaiton of whole accord
. streg  agg_imp_rate_woc conflict_type dead_1000  refugee_1000  war_dur  infant_rate if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}sig_minor_war
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-36.770522
{txt}Iteration 1:   log pseudolikelihood = {res}-35.596471
{txt}Iteration 2:   log pseudolikelihood = {res}-35.547671
{txt}Iteration 3:   log pseudolikelihood = {res}-35.547589
{txt}Iteration 4:   log pseudolikelihood = {res}-35.547589

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-35.547589}  
Iteration 1:{space 3}log pseudolikelihood = {res:-27.305675}  
Iteration 2:{space 3}log pseudolikelihood = {res:-22.244562}  
Iteration 3:{space 3}log pseudolikelihood = {res:-21.493252}  
Iteration 4:{space 3}log pseudolikelihood = {res:-21.489462}  
Iteration 5:{space 3}log pseudolikelihood = {res:-21.489461}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       219
{txt}No. of failures      = {res}          10
{txt}Time at risk         = {res}         219
                                                   {txt}Wald chi2({res}6{txt})    ={res}     84.56
{txt}Log pseudolikelihood =   {res}-21.489461                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 82:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}              _t{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
agg_imp_rate_woc {c |}{col 18}{res}{space 2} .0387794{col 30}{space 2} .0117236{col 41}{space 1}    3.31{col 50}{space 3}0.001{col 58}{space 4} .0158016{col 71}{space 3} .0617573
{txt}{space 3}conflict_type {c |}{col 18}{res}{space 2} 1.530707{col 30}{space 2} .7521565{col 41}{space 1}    2.04{col 50}{space 3}0.042{col 58}{space 4} .0565075{col 71}{space 3} 3.004907
{txt}{space 7}dead_1000 {c |}{col 18}{res}{space 2}-.0010517{col 30}{space 2} .0003889{col 41}{space 1}   -2.70{col 50}{space 3}0.007{col 58}{space 4}-.0018139{col 71}{space 3}-.0002895
{txt}{space 4}refugee_1000 {c |}{col 18}{res}{space 2} .0011748{col 30}{space 2} .0006157{col 41}{space 1}    1.91{col 50}{space 3}0.056{col 58}{space 4} -.000032{col 71}{space 3} .0023815
{txt}{space 2}war_dur_months {c |}{col 18}{res}{space 2} .0010699{col 30}{space 2} .0032043{col 41}{space 1}    0.33{col 50}{space 3}0.738{col 58}{space 4}-.0052104{col 71}{space 3} .0073501
{txt}{space 5}infant_rate {c |}{col 18}{res}{space 2}-.0126139{col 30}{space 2} .0079064{col 41}{space 1}   -1.60{col 50}{space 3}0.111{col 58}{space 4}-.0281102{col 71}{space 3} .0028823
{txt}{space 11}_cons {c |}{col 18}{res}{space 2} .8554228{col 30}{space 2}  1.41527{col 41}{space 1}    0.60{col 50}{space 3}0.546{col 58}{space 4}-1.918454{col 71}{space 3}   3.6293
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
           /ln_p {c |}{col 18}{res}{space 2} .4922489{col 30}{space 2}  .166936{col 41}{space 1}    2.95{col 50}{space 3}0.003{col 58}{space 4} .1650604{col 71}{space 3} .8194374
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}               p{col 18}{c |}{res}{space 2} 1.635991{col 30}{space 2} .2731058{col 58}{space 4} 1.179464{col 71}{space 3} 2.269223
{col 1}{txt}             1/p{col 18}{c |}{res}{space 2} .6112502{col 30}{space 2} .1020397{col 58}{space 4} .4406795{col 71}{space 3} .8478425
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. streg  agg_imp_rate_woc dead_1000  refugee_1000  war_dur  infant_rate  polity_2_1lag gdp_growth_annual_perc if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}sig_minor_war
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-36.303147
{txt}Iteration 1:   log pseudolikelihood = {res} -35.17233
{txt}Iteration 2:   log pseudolikelihood = {res}-35.127886
{txt}Iteration 3:   log pseudolikelihood = {res}-35.127819
{txt}Iteration 4:   log pseudolikelihood = {res}-35.127819

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-35.127819}  
Iteration 1:{space 3}log pseudolikelihood = {res:-26.832058}  
Iteration 2:{space 3}log pseudolikelihood = {res:-22.201069}  
Iteration 3:{space 3}log pseudolikelihood = {res:   -21.332}  
Iteration 4:{space 3}log pseudolikelihood = {res:-21.300397}  
Iteration 5:{space 3}log pseudolikelihood = {res:-21.300281}  
Iteration 6:{space 3}log pseudolikelihood = {res:-21.300281}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       209
{txt}No. of failures      = {res}          10
{txt}Time at risk         = {res}         209
                                                   {txt}Wald chi2({res}7{txt})    ={res}    101.61
{txt}Log pseudolikelihood =   {res}-21.300281                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 88:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                    _t{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}agg_imp_rate_woc {c |}{col 24}{res}{space 2} .0356646{col 36}{space 2} .0118624{col 47}{space 1}    3.01{col 56}{space 3}0.003{col 64}{space 4} .0124148{col 77}{space 3} .0589145
{txt}{space 13}dead_1000 {c |}{col 24}{res}{space 2}-.0004826{col 36}{space 2} .0002704{col 47}{space 1}   -1.78{col 56}{space 3}0.074{col 64}{space 4}-.0010125{col 77}{space 3} .0000474
{txt}{space 10}refugee_1000 {c |}{col 24}{res}{space 2} .0007923{col 36}{space 2} .0007655{col 47}{space 1}    1.04{col 56}{space 3}0.301{col 64}{space 4} -.000708{col 77}{space 3} .0022927
{txt}{space 8}war_dur_months {c |}{col 24}{res}{space 2}-.0039907{col 36}{space 2} .0017515{col 47}{space 1}   -2.28{col 56}{space 3}0.023{col 64}{space 4}-.0074236{col 77}{space 3}-.0005579
{txt}{space 11}infant_rate {c |}{col 24}{res}{space 2}-.0157031{col 36}{space 2} .0104808{col 47}{space 1}   -1.50{col 56}{space 3}0.134{col 64}{space 4}-.0362452{col 77}{space 3} .0048389
{txt}{space 9}polity_2_1lag {c |}{col 24}{res}{space 2} .1101632{col 36}{space 2} .0532377{col 47}{space 1}    2.07{col 56}{space 3}0.039{col 64}{space 4} .0058192{col 77}{space 3} .2145071
{txt}gdp_growth_annual_perc {c |}{col 24}{res}{space 2} .0114305{col 36}{space 2} .0069491{col 47}{space 1}    1.64{col 56}{space 3}0.100{col 64}{space 4}-.0021895{col 77}{space 3} .0250505
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 2.167825{col 36}{space 2} 1.449007{col 47}{space 1}    1.50{col 56}{space 3}0.135{col 64}{space 4}-.6721771{col 77}{space 3} 5.007827
{txt}{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                 /ln_p {c |}{col 24}{res}{space 2} .5788592{col 36}{space 2} .2800654{col 47}{space 1}    2.07{col 56}{space 3}0.039{col 64}{space 4} .0299411{col 77}{space 3} 1.127777
{txt}{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                     p{col 24}{c |}{res}{space 2} 1.784002{col 36}{space 2} .4996373{col 64}{space 4} 1.030394{col 77}{space 3} 3.088784
{col 1}{txt}                   1/p{col 24}{c |}{res}{space 2} .5605375{col 36}{space 2} .1569872{col 64}{space 4}  .323752{col 77}{space 3} .9705027
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. streg  agg_imp_rate_woc dead_1000  refugee_1000  war_dur  infant_rate gdp_growth_annual_perc if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}sig_minor_war
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-36.724755
{txt}Iteration 1:   log pseudolikelihood = {res}-35.566725
{txt}Iteration 2:   log pseudolikelihood = {res}-35.519302
{txt}Iteration 3:   log pseudolikelihood = {res}-35.519225
{txt}Iteration 4:   log pseudolikelihood = {res}-35.519225

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-35.519225}  
Iteration 1:{space 3}log pseudolikelihood = {res:-27.887107}  
Iteration 2:{space 3}log pseudolikelihood = {res:-24.212964}  
Iteration 3:{space 3}log pseudolikelihood = {res:-23.607159}  
Iteration 4:{space 3}log pseudolikelihood = {res:-23.588266}  
Iteration 5:{space 3}log pseudolikelihood = {res:-23.588225}  
Iteration 6:{space 3}log pseudolikelihood = {res:-23.588225}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       218
{txt}No. of failures      = {res}          10
{txt}Time at risk         = {res}         218
                                                   {txt}Wald chi2({res}6{txt})    ={res}     95.36
{txt}Log pseudolikelihood =   {res}-23.588225                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 88:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                    _t{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}agg_imp_rate_woc {c |}{col 24}{res}{space 2} .0298935{col 36}{space 2} .0090815{col 47}{space 1}    3.29{col 56}{space 3}0.001{col 64}{space 4} .0120941{col 77}{space 3}  .047693
{txt}{space 13}dead_1000 {c |}{col 24}{res}{space 2}-.0007258{col 36}{space 2} .0002885{col 47}{space 1}   -2.52{col 56}{space 3}0.012{col 64}{space 4}-.0012913{col 77}{space 3}-.0001604
{txt}{space 10}refugee_1000 {c |}{col 24}{res}{space 2} .0011128{col 36}{space 2} .0007461{col 47}{space 1}    1.49{col 56}{space 3}0.136{col 64}{space 4}-.0003495{col 77}{space 3} .0025752
{txt}{space 8}war_dur_months {c |}{col 24}{res}{space 2}-.0037153{col 36}{space 2} .0021131{col 47}{space 1}   -1.76{col 56}{space 3}0.079{col 64}{space 4}-.0078569{col 77}{space 3} .0004263
{txt}{space 11}infant_rate {c |}{col 24}{res}{space 2}-.0257222{col 36}{space 2} .0086577{col 47}{space 1}   -2.97{col 56}{space 3}0.003{col 64}{space 4} -.042691{col 77}{space 3}-.0087535
{txt}gdp_growth_annual_perc {c |}{col 24}{res}{space 2} .0248617{col 36}{space 2} .0065936{col 47}{space 1}    3.77{col 56}{space 3}0.000{col 64}{space 4} .0119385{col 77}{space 3} .0377849
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 3.535703{col 36}{space 2} 1.158246{col 47}{space 1}    3.05{col 56}{space 3}0.002{col 64}{space 4} 1.265583{col 77}{space 3} 5.805824
{txt}{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                 /ln_p {c |}{col 24}{res}{space 2} .3985079{col 36}{space 2} .3107159{col 47}{space 1}    1.28{col 56}{space 3}0.200{col 64}{space 4}-.2104841{col 77}{space 3}   1.0075
{txt}{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                     p{col 24}{c |}{res}{space 2}   1.4896{col 36}{space 2} .4628425{col 64}{space 4}  .810192{col 77}{space 3} 2.738745
{col 1}{txt}                   1/p{col 24}{c |}{res}{space 2}  .671321{col 36}{space 2} .2085901{col 64}{space 4} .3651307{col 77}{space 3} 1.234275
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. streg  agg_imp_rate_woc dead_1000  refugee_1000  war_dur  infant_rate polity_2_1lag if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}sig_minor_war
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res} -36.35088
{txt}Iteration 1:   log pseudolikelihood = {res}-35.203395
{txt}Iteration 2:   log pseudolikelihood = {res}-35.157581
{txt}Iteration 3:   log pseudolikelihood = {res} -35.15751
{txt}Iteration 4:   log pseudolikelihood = {res} -35.15751

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res: -35.15751}  
Iteration 1:{space 3}log pseudolikelihood = {res:-29.572104}  
Iteration 2:{space 3}log pseudolikelihood = {res:-22.350645}  
Iteration 3:{space 3}log pseudolikelihood = {res:-21.762147}  
Iteration 4:{space 3}log pseudolikelihood = {res: -21.75127}  
Iteration 5:{space 3}log pseudolikelihood = {res:-21.751262}  
Iteration 6:{space 3}log pseudolikelihood = {res:-21.751262}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       210
{txt}No. of failures      = {res}          10
{txt}Time at risk         = {res}         210
                                                   {txt}Wald chi2({res}6{txt})    ={res}     91.85
{txt}Log pseudolikelihood =   {res}-21.751262                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 82:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}              _t{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
agg_imp_rate_woc {c |}{col 18}{res}{space 2} .0375064{col 30}{space 2} .0125111{col 41}{space 1}    3.00{col 50}{space 3}0.003{col 58}{space 4} .0129851{col 71}{space 3} .0620276
{txt}{space 7}dead_1000 {c |}{col 18}{res}{space 2}-.0004231{col 30}{space 2} .0003647{col 41}{space 1}   -1.16{col 50}{space 3}0.246{col 58}{space 4}-.0011378{col 71}{space 3} .0002917
{txt}{space 4}refugee_1000 {c |}{col 18}{res}{space 2} .0006783{col 30}{space 2} .0007618{col 41}{space 1}    0.89{col 50}{space 3}0.373{col 58}{space 4}-.0008148{col 71}{space 3} .0021713
{txt}{space 2}war_dur_months {c |}{col 18}{res}{space 2}-.0040129{col 30}{space 2} .0018697{col 41}{space 1}   -2.15{col 50}{space 3}0.032{col 58}{space 4}-.0076774{col 71}{space 3}-.0003483
{txt}{space 5}infant_rate {c |}{col 18}{res}{space 2} -.015642{col 30}{space 2} .0107593{col 41}{space 1}   -1.45{col 50}{space 3}0.146{col 58}{space 4}-.0367299{col 71}{space 3} .0054458
{txt}{space 3}polity_2_1lag {c |}{col 18}{res}{space 2} .1249361{col 30}{space 2} .0483393{col 41}{space 1}    2.58{col 50}{space 3}0.010{col 58}{space 4} .0301928{col 71}{space 3} .2196794
{txt}{space 11}_cons {c |}{col 18}{res}{space 2} 2.139782{col 30}{space 2} 1.497783{col 41}{space 1}    1.43{col 50}{space 3}0.153{col 58}{space 4}-.7958174{col 71}{space 3} 5.075382
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
           /ln_p {c |}{col 18}{res}{space 2} .5340967{col 30}{space 2} .2507579{col 41}{space 1}    2.13{col 50}{space 3}0.033{col 58}{space 4} .0426202{col 71}{space 3} 1.025573
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}               p{col 18}{c |}{res}{space 2} 1.705907{col 30}{space 2} .4277696{col 58}{space 4} 1.043541{col 71}{space 3} 2.788693
{col 1}{txt}             1/p{col 18}{c |}{res}{space 2} .5861986{col 30}{space 2} .1469939{col 58}{space 4} .3585909{col 71}{space 3} .9582753
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. //Figure 2a.
.  
. streg  agg_imp_rate_woc dead_1000  refugee_1000  war_dur  infant_rate if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}sig_minor_war
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-36.770522
{txt}Iteration 1:   log pseudolikelihood = {res}-35.596471
{txt}Iteration 2:   log pseudolikelihood = {res}-35.547671
{txt}Iteration 3:   log pseudolikelihood = {res}-35.547589
{txt}Iteration 4:   log pseudolikelihood = {res}-35.547589

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-35.547589}  
Iteration 1:{space 3}log pseudolikelihood = {res:-35.151462}  
Iteration 2:{space 3}log pseudolikelihood = {res:-32.825254}  
Iteration 3:{space 3}log pseudolikelihood = {res:-25.725759}  
Iteration 4:{space 3}log pseudolikelihood = {res:-24.731585}  
Iteration 5:{space 3}log pseudolikelihood = {res:-24.707624}  
Iteration 6:{space 3}log pseudolikelihood = {res:-24.707598}  
Iteration 7:{space 3}log pseudolikelihood = {res:-24.707598}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       219
{txt}No. of failures      = {res}          10
{txt}Time at risk         = {res}         219
                                                   {txt}Wald chi2({res}5{txt})    ={res}     81.94
{txt}Log pseudolikelihood =   {res}-24.707598                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 82:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}              _t{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
agg_imp_rate_woc {c |}{col 18}{res}{space 2} .0316088{col 30}{space 2} .0099972{col 41}{space 1}    3.16{col 50}{space 3}0.002{col 58}{space 4} .0120145{col 71}{space 3}  .051203
{txt}{space 7}dead_1000 {c |}{col 18}{res}{space 2} -.000741{col 30}{space 2} .0003263{col 41}{space 1}   -2.27{col 50}{space 3}0.023{col 58}{space 4}-.0013805{col 71}{space 3}-.0001014
{txt}{space 4}refugee_1000 {c |}{col 18}{res}{space 2} .0010904{col 30}{space 2} .0007659{col 41}{space 1}    1.42{col 50}{space 3}0.155{col 58}{space 4}-.0004108{col 71}{space 3} .0025916
{txt}{space 2}war_dur_months {c |}{col 18}{res}{space 2}-.0035488{col 30}{space 2} .0022089{col 41}{space 1}   -1.61{col 50}{space 3}0.108{col 58}{space 4}-.0078781{col 71}{space 3} .0007805
{txt}{space 5}infant_rate {c |}{col 18}{res}{space 2}-.0277842{col 30}{space 2} .0094339{col 41}{space 1}   -2.95{col 50}{space 3}0.003{col 58}{space 4}-.0462743{col 71}{space 3} -.009294
{txt}{space 11}_cons {c |}{col 18}{res}{space 2} 3.760605{col 30}{space 2}  1.27132{col 41}{space 1}    2.96{col 50}{space 3}0.003{col 58}{space 4} 1.268863{col 71}{space 3} 6.252346
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
           /ln_p {c |}{col 18}{res}{space 2} .2999695{col 30}{space 2} .2674248{col 41}{space 1}    1.12{col 50}{space 3}0.262{col 58}{space 4}-.2241735{col 71}{space 3} .8241126
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}               p{col 18}{c |}{res}{space 2} 1.349818{col 30}{space 2} .3609748{col 58}{space 4} .7991765{col 71}{space 3} 2.279857
{col 1}{txt}             1/p{col 18}{c |}{res}{space 2} .7408408{col 30}{space 2} .1981192{col 58}{space 4} .4386241{col 71}{space 3} 1.251288
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. stcurve, survival at1(agg_imp_rate_woc=0) at2(agg_imp_rate_woc=25) at3(agg_imp_rate_woc=50) at4(agg_imp_rate_woc=75)
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\19FEB2015\betweensig.gph", replace
.  
. 
. //TABLE 3: armed conflict between non-signatories
. drop  _st _d _t _t0
{txt}
{com}. stset year_count, id(caseid) failure(nonsig_minor_war) origin(time year_count)

                {txt}id:  {res}caseid
     {txt}failure event:  {res}nonsig_minor_war != 0 & nonsig_minor_war < .
{txt}obs. time interval:  {res}(year_count[_n-1], year_count]
{txt} exit on or before:  {res}failure
    {txt}t for analysis:  {res}(time-origin)
            {txt}origin:  {res}time year_count

{txt}{hline 78}
{res}      340{txt}  total observations
{res}       34{txt}  observations end on or before enter()
{res}       79{txt}  observations begin on or after (first) failure
{hline 78}
{res}      227{txt}  observations remaining, representing
{res}       34{txt}  subjects
{res}       11{txt}  failures in single-failure-per-subject data
{res}      227{txt}  total analysis time at risk and under observation
                                              at risk from t = {res}        0
                                   {txt}earliest observed entry t = {res}        0
                                        {txt}last observed exit t = {res}        9
{txt}
{com}. 
. //Testing Implementaiton of whole accord
. streg  agg_imp_rate_woc conflict_type dead_1000  refugee_1000  war_dur  infant_rate if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}nonsig_minor_war
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-38.929243
{txt}Iteration 1:   log pseudolikelihood = {res}-37.749712
{txt}Iteration 2:   log pseudolikelihood = {res}-37.709275
{txt}Iteration 3:   log pseudolikelihood = {res}-37.709227
{txt}Iteration 4:   log pseudolikelihood = {res}-37.709227

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-37.709227}  
Iteration 1:{space 3}log pseudolikelihood = {res:-36.545079}  
Iteration 2:{space 3}log pseudolikelihood = {res:-24.684889}  
Iteration 3:{space 3}log pseudolikelihood = {res: -24.52587}  
Iteration 4:{space 3}log pseudolikelihood = {res:-24.523801}  
Iteration 5:{space 3}log pseudolikelihood = {res:-24.523801}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       211
{txt}No. of failures      = {res}          11
{txt}Time at risk         = {res}         211
                                                   {txt}Wald chi2({res}6{txt})    ={res}     70.84
{txt}Log pseudolikelihood =   {res}-24.523801                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 82:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}              _t{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
agg_imp_rate_woc {c |}{col 18}{res}{space 2} .0672208{col 30}{space 2} .0169796{col 41}{space 1}    3.96{col 50}{space 3}0.000{col 58}{space 4} .0339414{col 71}{space 3} .1005002
{txt}{space 3}conflict_type {c |}{col 18}{res}{space 2} .1980514{col 30}{space 2} .6164871{col 41}{space 1}    0.32{col 50}{space 3}0.748{col 58}{space 4}-1.010241{col 71}{space 3} 1.406344
{txt}{space 7}dead_1000 {c |}{col 18}{res}{space 2}-.0004652{col 30}{space 2} .0008635{col 41}{space 1}   -0.54{col 50}{space 3}0.590{col 58}{space 4}-.0021577{col 71}{space 3} .0012272
{txt}{space 4}refugee_1000 {c |}{col 18}{res}{space 2}-.0017914{col 30}{space 2} .0006033{col 41}{space 1}   -2.97{col 50}{space 3}0.003{col 58}{space 4}-.0029738{col 71}{space 3}-.0006091
{txt}{space 2}war_dur_months {c |}{col 18}{res}{space 2} .0051517{col 30}{space 2} .0034013{col 41}{space 1}    1.51{col 50}{space 3}0.130{col 58}{space 4}-.0015147{col 71}{space 3} .0118181
{txt}{space 5}infant_rate {c |}{col 18}{res}{space 2} .0062008{col 30}{space 2} .0068989{col 41}{space 1}    0.90{col 50}{space 3}0.369{col 58}{space 4}-.0073208{col 71}{space 3} .0197223
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}-1.174692{col 30}{space 2}  1.24428{col 41}{space 1}   -0.94{col 50}{space 3}0.345{col 58}{space 4}-3.613436{col 71}{space 3} 1.264052
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
           /ln_p {c |}{col 18}{res}{space 2} .3767137{col 30}{space 2} .1887129{col 41}{space 1}    2.00{col 50}{space 3}0.046{col 58}{space 4} .0068432{col 71}{space 3} .7465843
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}               p{col 18}{c |}{res}{space 2} 1.457487{col 30}{space 2} .2750466{col 58}{space 4} 1.006867{col 71}{space 3} 2.109781
{col 1}{txt}             1/p{col 18}{c |}{res}{space 2} .6861125{col 30}{space 2} .1294783{col 58}{space 4} .4739828{col 71}{space 3} .9931802
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. streg  agg_imp_rate_woc dead_1000  refugee_1000  war_dur  infant_rate  polity_2_1lag gdp_growth_annual_perc if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}nonsig_minor_war
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-38.824481
{txt}Iteration 1:   log pseudolikelihood = {res}-37.618699
{txt}Iteration 2:   log pseudolikelihood = {res}-37.575076
{txt}Iteration 3:   log pseudolikelihood = {res}-37.575018
{txt}Iteration 4:   log pseudolikelihood = {res}-37.575018

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-37.575018}  
Iteration 1:{space 3}log pseudolikelihood = {res:-36.338479}  
Iteration 2:{space 3}log pseudolikelihood = {res:-24.041364}  
Iteration 3:{space 3}log pseudolikelihood = {res: -23.56181}  
Iteration 4:{space 3}log pseudolikelihood = {res:-23.545394}  
Iteration 5:{space 3}log pseudolikelihood = {res:-23.545365}  
Iteration 6:{space 3}log pseudolikelihood = {res:-23.545365}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       209
{txt}No. of failures      = {res}          11
{txt}Time at risk         = {res}         209
                                                   {txt}Wald chi2({res}7{txt})    ={res}     77.81
{txt}Log pseudolikelihood =   {res}-23.545365                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 88:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                    _t{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}agg_imp_rate_woc {c |}{col 24}{res}{space 2} .0665908{col 36}{space 2}  .014187{col 47}{space 1}    4.69{col 56}{space 3}0.000{col 64}{space 4} .0387848{col 77}{space 3} .0943967
{txt}{space 13}dead_1000 {c |}{col 24}{res}{space 2}-.0004232{col 36}{space 2} .0008151{col 47}{space 1}   -0.52{col 56}{space 3}0.604{col 64}{space 4}-.0020208{col 77}{space 3} .0011744
{txt}{space 10}refugee_1000 {c |}{col 24}{res}{space 2}-.0016509{col 36}{space 2} .0005107{col 47}{space 1}   -3.23{col 56}{space 3}0.001{col 64}{space 4}-.0026518{col 77}{space 3}  -.00065
{txt}{space 8}war_dur_months {c |}{col 24}{res}{space 2} .0043004{col 36}{space 2} .0030844{col 47}{space 1}    1.39{col 56}{space 3}0.163{col 64}{space 4}-.0017448{col 77}{space 3} .0103456
{txt}{space 11}infant_rate {c |}{col 24}{res}{space 2} .0058029{col 36}{space 2} .0059297{col 47}{space 1}    0.98{col 56}{space 3}0.328{col 64}{space 4}-.0058191{col 77}{space 3} .0174249
{txt}{space 9}polity_2_1lag {c |}{col 24}{res}{space 2}  .052785{col 36}{space 2}  .044847{col 47}{space 1}    1.18{col 56}{space 3}0.239{col 64}{space 4}-.0351134{col 77}{space 3} .1406834
{txt}gdp_growth_annual_perc {c |}{col 24}{res}{space 2}-.0126267{col 36}{space 2} .0096082{col 47}{space 1}   -1.31{col 56}{space 3}0.189{col 64}{space 4}-.0314585{col 77}{space 3} .0062051
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}  -1.0581{col 36}{space 2} 1.055428{col 47}{space 1}   -1.00{col 56}{space 3}0.316{col 64}{space 4}  -3.1267{col 77}{space 3}   1.0105
{txt}{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                 /ln_p {c |}{col 24}{res}{space 2} .4608301{col 36}{space 2} .1595263{col 47}{space 1}    2.89{col 56}{space 3}0.004{col 64}{space 4} .1481642{col 77}{space 3} .7734959
{txt}{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                     p{col 24}{c |}{res}{space 2} 1.585389{col 36}{space 2} .2529114{col 64}{space 4} 1.159703{col 77}{space 3}  2.16733
{col 1}{txt}                   1/p{col 24}{c |}{res}{space 2} .6307598{col 36}{space 2} .1006228{col 64}{space 4} .4613972{col 77}{space 3} .8622895
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. streg  agg_imp_rate_woc dead_1000  refugee_1000  war_dur  infant_rate gdp_growth_annual_perc if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}nonsig_minor_war
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-38.876987
{txt}Iteration 1:   log pseudolikelihood = {res}-37.715525
{txt}Iteration 2:   log pseudolikelihood = {res}-37.676363
{txt}Iteration 3:   log pseudolikelihood = {res}-37.676318
{txt}Iteration 4:   log pseudolikelihood = {res}-37.676318

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-37.676318}  
Iteration 1:{space 3}log pseudolikelihood = {res:-35.601617}  
Iteration 2:{space 3}log pseudolikelihood = {res:-24.776515}  
Iteration 3:{space 3}log pseudolikelihood = {res:-24.071235}  
Iteration 4:{space 3}log pseudolikelihood = {res:-24.056808}  
Iteration 5:{space 3}log pseudolikelihood = {res:-24.056757}  
Iteration 6:{space 3}log pseudolikelihood = {res:-24.056757}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       210
{txt}No. of failures      = {res}          11
{txt}Time at risk         = {res}         210
                                                   {txt}Wald chi2({res}6{txt})    ={res}     71.48
{txt}Log pseudolikelihood =   {res}-24.056757                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 88:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                    _t{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}agg_imp_rate_woc {c |}{col 24}{res}{space 2}  .064907{col 36}{space 2} .0146077{col 47}{space 1}    4.44{col 56}{space 3}0.000{col 64}{space 4} .0362765{col 77}{space 3} .0935376
{txt}{space 13}dead_1000 {c |}{col 24}{res}{space 2} -.000396{col 36}{space 2} .0009435{col 47}{space 1}   -0.42{col 56}{space 3}0.675{col 64}{space 4}-.0022453{col 77}{space 3} .0014533
{txt}{space 10}refugee_1000 {c |}{col 24}{res}{space 2}-.0016729{col 36}{space 2}  .000542{col 47}{space 1}   -3.09{col 56}{space 3}0.002{col 64}{space 4}-.0027353{col 77}{space 3}-.0006105
{txt}{space 8}war_dur_months {c |}{col 24}{res}{space 2} .0046643{col 36}{space 2} .0028517{col 47}{space 1}    1.64{col 56}{space 3}0.102{col 64}{space 4}-.0009249{col 77}{space 3} .0102535
{txt}{space 11}infant_rate {c |}{col 24}{res}{space 2} .0033033{col 36}{space 2} .0060289{col 47}{space 1}    0.55{col 56}{space 3}0.584{col 64}{space 4}-.0085132{col 77}{space 3} .0151198
{txt}gdp_growth_annual_perc {c |}{col 24}{res}{space 2}-.0214587{col 36}{space 2} .0124389{col 47}{space 1}   -1.73{col 56}{space 3}0.085{col 64}{space 4}-.0458385{col 77}{space 3} .0029211
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} -.639328{col 36}{space 2} 1.018167{col 47}{space 1}   -0.63{col 56}{space 3}0.530{col 64}{space 4}-2.634898{col 77}{space 3} 1.356242
{txt}{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                 /ln_p {c |}{col 24}{res}{space 2}  .390828{col 36}{space 2} .1555757{col 47}{space 1}    2.51{col 56}{space 3}0.012{col 64}{space 4} .0859053{col 77}{space 3} .6957506
{txt}{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                     p{col 24}{c |}{res}{space 2} 1.478204{col 36}{space 2} .2299726{col 64}{space 4} 1.089703{col 77}{space 3} 2.005214
{col 1}{txt}                   1/p{col 24}{c |}{res}{space 2} .6764965{col 36}{space 2} .1052464{col 64}{space 4}    .4987{col 77}{space 3} .9176811
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. streg  agg_imp_rate_woc dead_1000  refugee_1000  war_dur  infant_rate polity_2_1lag if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}nonsig_minor_war
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-38.876987
{txt}Iteration 1:   log pseudolikelihood = {res}-37.652913
{txt}Iteration 2:   log pseudolikelihood = {res}-37.607906
{txt}Iteration 3:   log pseudolikelihood = {res}-37.607845
{txt}Iteration 4:   log pseudolikelihood = {res}-37.607845

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-37.607845}  
Iteration 1:{space 3}log pseudolikelihood = {res:-35.191043}  
Iteration 2:{space 3}log pseudolikelihood = {res:-24.102239}  
Iteration 3:{space 3}log pseudolikelihood = {res:-23.898246}  
Iteration 4:{space 3}log pseudolikelihood = {res:-23.895039}  
Iteration 5:{space 3}log pseudolikelihood = {res:-23.895037}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       210
{txt}No. of failures      = {res}          11
{txt}Time at risk         = {res}         210
                                                   {txt}Wald chi2({res}6{txt})    ={res}     74.52
{txt}Log pseudolikelihood =   {res}-23.895037                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 82:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}              _t{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
agg_imp_rate_woc {c |}{col 18}{res}{space 2} .0681888{col 30}{space 2} .0157322{col 41}{space 1}    4.33{col 50}{space 3}0.000{col 58}{space 4} .0373543{col 71}{space 3} .0990233
{txt}{space 7}dead_1000 {c |}{col 18}{res}{space 2}-.0004066{col 30}{space 2} .0008138{col 41}{space 1}   -0.50{col 50}{space 3}0.617{col 58}{space 4}-.0020017{col 71}{space 3} .0011885
{txt}{space 4}refugee_1000 {c |}{col 18}{res}{space 2}-.0017801{col 30}{space 2} .0005143{col 41}{space 1}   -3.46{col 50}{space 3}0.001{col 58}{space 4}-.0027881{col 71}{space 3}-.0007722
{txt}{space 2}war_dur_months {c |}{col 18}{res}{space 2} .0041086{col 30}{space 2} .0029603{col 41}{space 1}    1.39{col 50}{space 3}0.165{col 58}{space 4}-.0016934{col 71}{space 3} .0099106
{txt}{space 5}infant_rate {c |}{col 18}{res}{space 2} .0070022{col 30}{space 2} .0064683{col 41}{space 1}    1.08{col 50}{space 3}0.279{col 58}{space 4}-.0056754{col 71}{space 3} .0196797
{txt}{space 3}polity_2_1lag {c |}{col 18}{res}{space 2}  .058924{col 30}{space 2} .0427462{col 41}{space 1}    1.38{col 50}{space 3}0.168{col 58}{space 4}-.0248569{col 71}{space 3} .1427049
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}-1.223166{col 30}{space 2} 1.126782{col 41}{space 1}   -1.09{col 50}{space 3}0.278{col 58}{space 4}-3.431618{col 71}{space 3} .9852847
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
           /ln_p {c |}{col 18}{res}{space 2} .4474527{col 30}{space 2} .1603113{col 41}{space 1}    2.79{col 50}{space 3}0.005{col 58}{space 4} .1332483{col 71}{space 3} .7616571
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}               p{col 18}{c |}{res}{space 2} 1.564322{col 30}{space 2} .2507786{col 58}{space 4} 1.142534{col 71}{space 3} 2.141823
{col 1}{txt}             1/p{col 18}{c |}{res}{space 2} .6392544{col 30}{space 2} .1024797{col 58}{space 4} .4668921{col 71}{space 3} .8752477
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. //Figure 2b.
. 
. 
. streg  agg_imp_rate_woc dead_1000  refugee_1000  war_dur  infant_rate if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}nonsig_minor_war
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-38.929243
{txt}Iteration 1:   log pseudolikelihood = {res}-37.749712
{txt}Iteration 2:   log pseudolikelihood = {res}-37.709275
{txt}Iteration 3:   log pseudolikelihood = {res}-37.709227
{txt}Iteration 4:   log pseudolikelihood = {res}-37.709227

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-37.709227}  
Iteration 1:{space 3}log pseudolikelihood = {res:-34.369928}  
Iteration 2:{space 3}log pseudolikelihood = {res:-24.844627}  
Iteration 3:{space 3}log pseudolikelihood = {res:-24.583223}  
Iteration 4:{space 3}log pseudolikelihood = {res:-24.579735}  
Iteration 5:{space 3}log pseudolikelihood = {res:-24.579734}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       211
{txt}No. of failures      = {res}          11
{txt}Time at risk         = {res}         211
                                                   {txt}Wald chi2({res}5{txt})    ={res}     66.98
{txt}Log pseudolikelihood =   {res}-24.579734                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 82:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 18}{c |}{col 30}    Robust
{col 1}              _t{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
agg_imp_rate_woc {c |}{col 18}{res}{space 2} .0669718{col 30}{space 2}  .018485{col 41}{space 1}    3.62{col 50}{space 3}0.000{col 58}{space 4} .0307418{col 71}{space 3} .1032018
{txt}{space 7}dead_1000 {c |}{col 18}{res}{space 2} -.000382{col 30}{space 2} .0010213{col 41}{space 1}   -0.37{col 50}{space 3}0.708{col 58}{space 4}-.0023837{col 71}{space 3} .0016197
{txt}{space 4}refugee_1000 {c |}{col 18}{res}{space 2}-.0018857{col 30}{space 2} .0005843{col 41}{space 1}   -3.23{col 50}{space 3}0.001{col 58}{space 4}-.0030309{col 71}{space 3}-.0007404
{txt}{space 2}war_dur_months {c |}{col 18}{res}{space 2} .0046527{col 30}{space 2} .0027767{col 41}{space 1}    1.68{col 50}{space 3}0.094{col 58}{space 4}-.0007895{col 71}{space 3} .0100949
{txt}{space 5}infant_rate {c |}{col 18}{res}{space 2} .0048429{col 30}{space 2} .0080543{col 41}{space 1}    0.60{col 50}{space 3}0.548{col 58}{space 4}-.0109431{col 71}{space 3}  .020629
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}-.8699409{col 30}{space 2} 1.297495{col 41}{space 1}   -0.67{col 50}{space 3}0.503{col 58}{space 4}-3.412983{col 71}{space 3} 1.673102
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
           /ln_p {c |}{col 18}{res}{space 2} .3559481{col 30}{space 2} .1497297{col 41}{space 1}    2.38{col 50}{space 3}0.017{col 58}{space 4} .0624833{col 71}{space 3} .6494128
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}               p{col 18}{c |}{res}{space 2} 1.427533{col 30}{space 2} .2137441{col 58}{space 4} 1.064477{col 71}{space 3} 1.914416
{col 1}{txt}             1/p{col 18}{c |}{res}{space 2}  .700509{col 30}{space 2}  .104887{col 58}{space 4} .5223524{col 71}{space 3} .9394287
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. stcurve, survival at1(agg_imp_rate_woc=0) at2(agg_imp_rate_woc=25) at3(agg_imp_rate_woc=50) at4(agg_imp_rate_woc=75)
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\19FEB2015\betweennon-sig.gph", replace
.  
. //graph combine "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\19FEB2015\betweensig.gph" "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\19FEB2015\betweennon-sig.gph", ycommon
. 
. 
. 
. //Table 4. Further Tests Model 1-2 Between Sig and non-sig excludes external actors related provisions & ceasefire 
. //Between signatories
. drop  _st _d _t _t0
{txt}
{com}. stset year_count, id(caseid) failure( sig_minor_war) origin(time year_count)

                {txt}id:  {res}caseid
     {txt}failure event:  {res}sig_minor_war != 0 & sig_minor_war < .
{txt}obs. time interval:  {res}(year_count[_n-1], year_count]
{txt} exit on or before:  {res}failure
    {txt}t for analysis:  {res}(time-origin)
            {txt}origin:  {res}time year_count

{txt}{hline 78}
{res}      340{txt}  total observations
{res}       34{txt}  observations end on or before enter()
{res}       70{txt}  observations begin on or after (first) failure
{hline 78}
{res}      236{txt}  observations remaining, representing
{res}       34{txt}  subjects
{res}       10{txt}  failures in single-failure-per-subject data
{res}      236{txt}  total analysis time at risk and under observation
                                              at risk from t = {res}        0
                                   {txt}earliest observed entry t = {res}        0
                                        {txt}last observed exit t = {res}        9
{txt}
{com}. 
. streg  impratewithoutext conflict_type dead_1000  refugee_1000  war_dur  infant_rate if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}sig_minor_war
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-36.770522
{txt}Iteration 1:   log pseudolikelihood = {res}-35.596471
{txt}Iteration 2:   log pseudolikelihood = {res}-35.547671
{txt}Iteration 3:   log pseudolikelihood = {res}-35.547589
{txt}Iteration 4:   log pseudolikelihood = {res}-35.547589

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-35.547589}  
Iteration 1:{space 3}log pseudolikelihood = {res:-26.341862}  
Iteration 2:{space 3}log pseudolikelihood = {res:-21.762819}  
Iteration 3:{space 3}log pseudolikelihood = {res:-21.021917}  
Iteration 4:{space 3}log pseudolikelihood = {res:-21.011518}  
Iteration 5:{space 3}log pseudolikelihood = {res:-21.011509}  
Iteration 6:{space 3}log pseudolikelihood = {res:-21.011509}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       219
{txt}No. of failures      = {res}          10
{txt}Time at risk         = {res}         219
                                                   {txt}Wald chi2({res}6{txt})    ={res}    103.03
{txt}Log pseudolikelihood =   {res}-21.011509                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 83:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}               _t{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
impratewithoutext {c |}{col 19}{res}{space 2} .0335968{col 31}{space 2} .0097553{col 42}{space 1}    3.44{col 51}{space 3}0.001{col 59}{space 4} .0144767{col 72}{space 3} .0527169
{txt}{space 4}conflict_type {c |}{col 19}{res}{space 2} 1.460606{col 31}{space 2}  .745085{col 42}{space 1}    1.96{col 51}{space 3}0.050{col 59}{space 4} .0002668{col 72}{space 3} 2.920946
{txt}{space 8}dead_1000 {c |}{col 19}{res}{space 2}  -.00102{col 31}{space 2} .0004179{col 42}{space 1}   -2.44{col 51}{space 3}0.015{col 59}{space 4}-.0018391{col 72}{space 3} -.000201
{txt}{space 5}refugee_1000 {c |}{col 19}{res}{space 2} .0012415{col 31}{space 2} .0006351{col 42}{space 1}    1.95{col 51}{space 3}0.051{col 59}{space 4}-3.32e-06{col 72}{space 3} .0024864
{txt}{space 3}war_dur_months {c |}{col 19}{res}{space 2} .0017696{col 31}{space 2} .0034652{col 42}{space 1}    0.51{col 51}{space 3}0.610{col 59}{space 4}-.0050221{col 72}{space 3} .0085612
{txt}{space 6}infant_rate {c |}{col 19}{res}{space 2}-.0114665{col 31}{space 2} .0082815{col 42}{space 1}   -1.38{col 51}{space 3}0.166{col 59}{space 4}-.0276979{col 72}{space 3} .0047649
{txt}{space 12}_cons {c |}{col 19}{res}{space 2} .6952335{col 31}{space 2} 1.467319{col 42}{space 1}    0.47{col 51}{space 3}0.636{col 59}{space 4}-2.180658{col 72}{space 3} 3.571125
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
            /ln_p {c |}{col 19}{res}{space 2} .5301882{col 31}{space 2}  .182023{col 42}{space 1}    2.91{col 51}{space 3}0.004{col 59}{space 4} .1734297{col 72}{space 3} .8869467
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                p{col 19}{c |}{res}{space 2} 1.699252{col 31}{space 2} .3093029{col 59}{space 4} 1.189377{col 72}{space 3} 2.427706
{col 1}{txt}              1/p{col 19}{c |}{res}{space 2} .5884942{col 31}{space 2} .1071195{col 59}{space 4} .4119115{col 72}{space 3} .8407762
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. streg  impratewithoutext dead_1000  refugee_1000  war_dur  infant_rate  polity_2_1lag gdp_growth_annual_perc if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}sig_minor_war
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-36.303147
{txt}Iteration 1:   log pseudolikelihood = {res} -35.17233
{txt}Iteration 2:   log pseudolikelihood = {res}-35.127886
{txt}Iteration 3:   log pseudolikelihood = {res}-35.127819
{txt}Iteration 4:   log pseudolikelihood = {res}-35.127819

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-35.127819}  
Iteration 1:{space 3}log pseudolikelihood = {res:-26.136999}  
Iteration 2:{space 3}log pseudolikelihood = {res:-21.624215}  
Iteration 3:{space 3}log pseudolikelihood = {res:-20.661513}  
Iteration 4:{space 3}log pseudolikelihood = {res: -20.62115}  
Iteration 5:{space 3}log pseudolikelihood = {res: -20.62102}  
Iteration 6:{space 3}log pseudolikelihood = {res: -20.62102}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       209
{txt}No. of failures      = {res}          10
{txt}Time at risk         = {res}         209
                                                   {txt}Wald chi2({res}7{txt})    ={res}    104.10
{txt}Log pseudolikelihood =   {res} -20.62102                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 88:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                    _t{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}impratewithoutext {c |}{col 24}{res}{space 2} .0313763{col 36}{space 2} .0094222{col 47}{space 1}    3.33{col 56}{space 3}0.001{col 64}{space 4} .0129092{col 77}{space 3} .0498433
{txt}{space 13}dead_1000 {c |}{col 24}{res}{space 2}-.0004995{col 36}{space 2}  .000324{col 47}{space 1}   -1.54{col 56}{space 3}0.123{col 64}{space 4}-.0011346{col 77}{space 3} .0001356
{txt}{space 10}refugee_1000 {c |}{col 24}{res}{space 2} .0008933{col 36}{space 2} .0007903{col 47}{space 1}    1.13{col 56}{space 3}0.258{col 64}{space 4}-.0006558{col 77}{space 3} .0024423
{txt}{space 8}war_dur_months {c |}{col 24}{res}{space 2}-.0027631{col 36}{space 2} .0019592{col 47}{space 1}   -1.41{col 56}{space 3}0.158{col 64}{space 4} -.006603{col 77}{space 3} .0010769
{txt}{space 11}infant_rate {c |}{col 24}{res}{space 2}-.0125149{col 36}{space 2} .0100561{col 47}{space 1}   -1.24{col 56}{space 3}0.213{col 64}{space 4}-.0322245{col 77}{space 3} .0071947
{txt}{space 9}polity_2_1lag {c |}{col 24}{res}{space 2} .1135666{col 36}{space 2} .0546503{col 47}{space 1}    2.08{col 56}{space 3}0.038{col 64}{space 4}  .006454{col 77}{space 3} .2206792
{txt}gdp_growth_annual_perc {c |}{col 24}{res}{space 2} .0080424{col 36}{space 2} .0078788{col 47}{space 1}    1.02{col 56}{space 3}0.307{col 64}{space 4}-.0073998{col 77}{space 3} .0234846
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 1.686914{col 36}{space 2} 1.365861{col 47}{space 1}    1.24{col 56}{space 3}0.217{col 64}{space 4}-.9901242{col 77}{space 3} 4.363952
{txt}{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                 /ln_p {c |}{col 24}{res}{space 2} .6227404{col 36}{space 2}  .252122{col 47}{space 1}    2.47{col 56}{space 3}0.014{col 64}{space 4} .1285904{col 77}{space 3} 1.116891
{txt}{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                     p{col 24}{c |}{res}{space 2} 1.864029{col 36}{space 2} .4699628{col 64}{space 4} 1.137224{col 77}{space 3} 3.055339
{col 1}{txt}                   1/p{col 24}{c |}{res}{space 2} .5364722{col 36}{space 2} .1352565{col 64}{space 4} .3272959{col 77}{space 3} .8793341
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. streg  impratewithoutext dead_1000  refugee_1000  war_dur  polity_2_1lag unpkf_implem net_aid total_prov media_ave if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}sig_minor_war
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-35.912854
{txt}Iteration 1:   log pseudolikelihood = {res}-34.793974
{txt}Iteration 2:   log pseudolikelihood = {res}-34.751223
{txt}Iteration 3:   log pseudolikelihood = {res}-34.751162
{txt}Iteration 4:   log pseudolikelihood = {res}-34.751162

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-34.751162}  
Iteration 1:{space 3}log pseudolikelihood = {res: -25.65417}  
Iteration 2:{space 3}log pseudolikelihood = {res:-21.294276}  
Iteration 3:{space 3}log pseudolikelihood = {res:-19.943442}  
Iteration 4:{space 3}log pseudolikelihood = {res:-19.845952}  
Iteration 5:{space 3}log pseudolikelihood = {res:-19.845671}  
Iteration 6:{space 3}log pseudolikelihood = {res:-19.845671}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          33                {txt}Number of obs   ={res}       201
{txt}No. of failures      = {res}          10
{txt}Time at risk         = {res}         201
                                                   {txt}Wald chi2({res}9{txt})    ={res}     99.91
{txt}Log pseudolikelihood =   {res}-19.845671                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 83:(Std. Err. adjusted for {res:29} clusters in cowcode)}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}               _t{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
impratewithoutext {c |}{col 19}{res}{space 2} .0409349{col 31}{space 2} .0055891{col 42}{space 1}    7.32{col 51}{space 3}0.000{col 59}{space 4} .0299804{col 72}{space 3} .0518894
{txt}{space 8}dead_1000 {c |}{col 19}{res}{space 2}-.0005125{col 31}{space 2} .0001925{col 42}{space 1}   -2.66{col 51}{space 3}0.008{col 59}{space 4}-.0008897{col 72}{space 3}-.0001353
{txt}{space 5}refugee_1000 {c |}{col 19}{res}{space 2} .0000906{col 31}{space 2}  .000462{col 42}{space 1}    0.20{col 51}{space 3}0.845{col 59}{space 4}-.0008148{col 72}{space 3}  .000996
{txt}{space 3}war_dur_months {c |}{col 19}{res}{space 2}-.0016859{col 31}{space 2} .0013736{col 42}{space 1}   -1.23{col 51}{space 3}0.220{col 59}{space 4}-.0043781{col 72}{space 3} .0010064
{txt}{space 4}polity_2_1lag {c |}{col 19}{res}{space 2} .1447945{col 31}{space 2} .0402483{col 42}{space 1}    3.60{col 51}{space 3}0.000{col 59}{space 4} .0659092{col 72}{space 3} .2236798
{txt}{space 5}unpkf_implem {c |}{col 19}{res}{space 2}-.0444613{col 31}{space 2} .1730607{col 42}{space 1}   -0.26{col 51}{space 3}0.797{col 59}{space 4} -.383654{col 72}{space 3} .2947314
{txt}{space 10}net_aid {c |}{col 19}{res}{space 2} .0005775{col 31}{space 2} .0003611{col 42}{space 1}    1.60{col 51}{space 3}0.110{col 59}{space 4}-.0001302{col 72}{space 3} .0012852
{txt}{space 7}total_prov {c |}{col 19}{res}{space 2}-.0203553{col 31}{space 2} .0352464{col 42}{space 1}   -0.58{col 51}{space 3}0.564{col 59}{space 4}-.0894369{col 72}{space 3} .0487263
{txt}{space 8}media_ave {c |}{col 19}{res}{space 2}  .000653{col 31}{space 2} .0005874{col 42}{space 1}    1.11{col 51}{space 3}0.266{col 59}{space 4}-.0004984{col 72}{space 3} .0018043
{txt}{space 12}_cons {c |}{col 19}{res}{space 2} .1102512{col 31}{space 2}  .751789{col 42}{space 1}    0.15{col 51}{space 3}0.883{col 59}{space 4}-1.363228{col 72}{space 3} 1.583731
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
            /ln_p {c |}{col 19}{res}{space 2} .7027859{col 31}{space 2} .3167955{col 42}{space 1}    2.22{col 51}{space 3}0.027{col 59}{space 4} .0818781{col 72}{space 3} 1.323694
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                p{col 19}{c |}{res}{space 2} 2.019371{col 31}{space 2} .6397276{col 59}{space 4} 1.085323{col 72}{space 3} 3.757274
{col 1}{txt}              1/p{col 19}{c |}{res}{space 2} .4952038{col 31}{space 2} .1568783{col 59}{space 4} .2661504{col 72}{space 3} .9213843
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. //Between non-sig
. drop  _st _d _t _t0
{txt}
{com}. stset year_count, id(caseid) failure(nonsig_minor_war) origin(time year_count)

                {txt}id:  {res}caseid
     {txt}failure event:  {res}nonsig_minor_war != 0 & nonsig_minor_war < .
{txt}obs. time interval:  {res}(year_count[_n-1], year_count]
{txt} exit on or before:  {res}failure
    {txt}t for analysis:  {res}(time-origin)
            {txt}origin:  {res}time year_count

{txt}{hline 78}
{res}      340{txt}  total observations
{res}       34{txt}  observations end on or before enter()
{res}       79{txt}  observations begin on or after (first) failure
{hline 78}
{res}      227{txt}  observations remaining, representing
{res}       34{txt}  subjects
{res}       11{txt}  failures in single-failure-per-subject data
{res}      227{txt}  total analysis time at risk and under observation
                                              at risk from t = {res}        0
                                   {txt}earliest observed entry t = {res}        0
                                        {txt}last observed exit t = {res}        9
{txt}
{com}. streg  impratewithoutext conflict_type dead_1000  refugee_1000  war_dur  infant_rate if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}nonsig_minor_war
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-38.929243
{txt}Iteration 1:   log pseudolikelihood = {res}-37.749712
{txt}Iteration 2:   log pseudolikelihood = {res}-37.709275
{txt}Iteration 3:   log pseudolikelihood = {res}-37.709227
{txt}Iteration 4:   log pseudolikelihood = {res}-37.709227

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-37.709227}  
Iteration 1:{space 3}log pseudolikelihood = {res:-37.628102}  
Iteration 2:{space 3}log pseudolikelihood = {res:-25.887999}  
Iteration 3:{space 3}log pseudolikelihood = {res:-25.732099}  
Iteration 4:{space 3}log pseudolikelihood = {res: -25.73045}  
Iteration 5:{space 3}log pseudolikelihood = {res: -25.73045}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       211
{txt}No. of failures      = {res}          11
{txt}Time at risk         = {res}         211
                                                   {txt}Wald chi2({res}6{txt})    ={res}     67.48
{txt}Log pseudolikelihood =   {res} -25.73045                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 83:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}               _t{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
impratewithoutext {c |}{col 19}{res}{space 2}  .054992{col 31}{space 2} .0164158{col 42}{space 1}    3.35{col 51}{space 3}0.001{col 59}{space 4} .0228176{col 72}{space 3} .0871664
{txt}{space 4}conflict_type {c |}{col 19}{res}{space 2}-.0812903{col 31}{space 2}  .734334{col 42}{space 1}   -0.11{col 51}{space 3}0.912{col 59}{space 4}-1.520558{col 72}{space 3} 1.357978
{txt}{space 8}dead_1000 {c |}{col 19}{res}{space 2}-.0001124{col 31}{space 2}  .001014{col 42}{space 1}   -0.11{col 51}{space 3}0.912{col 59}{space 4}-.0020998{col 72}{space 3}  .001875
{txt}{space 5}refugee_1000 {c |}{col 19}{res}{space 2}-.0016218{col 31}{space 2} .0006878{col 42}{space 1}   -2.36{col 51}{space 3}0.018{col 59}{space 4}-.0029699{col 72}{space 3}-.0002736
{txt}{space 3}war_dur_months {c |}{col 19}{res}{space 2} .0045181{col 31}{space 2} .0036689{col 42}{space 1}    1.23{col 51}{space 3}0.218{col 59}{space 4}-.0026729{col 72}{space 3}  .011709
{txt}{space 6}infant_rate {c |}{col 19}{res}{space 2} .0016993{col 31}{space 2} .0089249{col 42}{space 1}    0.19{col 51}{space 3}0.849{col 59}{space 4}-.0157932{col 72}{space 3} .0191918
{txt}{space 12}_cons {c |}{col 19}{res}{space 2}-.4646532{col 31}{space 2} 1.598816{col 42}{space 1}   -0.29{col 51}{space 3}0.771{col 59}{space 4}-3.598275{col 72}{space 3} 2.668968
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
            /ln_p {c |}{col 19}{res}{space 2} .3429613{col 31}{space 2} .2018511{col 42}{space 1}    1.70{col 51}{space 3}0.089{col 59}{space 4}-.0526596{col 72}{space 3} .7385821
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                p{col 19}{c |}{res}{space 2} 1.409114{col 31}{space 2} .2844312{col 59}{space 4} .9487029{col 72}{space 3} 2.092966
{col 1}{txt}              1/p{col 19}{c |}{res}{space 2} .7096657{col 31}{space 2} .1432468{col 59}{space 4} .4777909{col 72}{space 3} 1.054071
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. streg  impratewithoutext dead_1000  refugee_1000  war_dur  infant_rate  polity_2_1lag gdp_growth_annual_perc if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}nonsig_minor_war
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-38.824481
{txt}Iteration 1:   log pseudolikelihood = {res}-37.618699
{txt}Iteration 2:   log pseudolikelihood = {res}-37.575076
{txt}Iteration 3:   log pseudolikelihood = {res}-37.575018
{txt}Iteration 4:   log pseudolikelihood = {res}-37.575018

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-37.575018}  
Iteration 1:{space 3}log pseudolikelihood = {res:-28.905829}  
Iteration 2:{space 3}log pseudolikelihood = {res:-25.529149}  
Iteration 3:{space 3}log pseudolikelihood = {res:-25.166178}  
Iteration 4:{space 3}log pseudolikelihood = {res:-25.157423}  
Iteration 5:{space 3}log pseudolikelihood = {res:-25.157394}  
Iteration 6:{space 3}log pseudolikelihood = {res:-25.157394}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       209
{txt}No. of failures      = {res}          11
{txt}Time at risk         = {res}         209
                                                   {txt}Wald chi2({res}7{txt})    ={res}     78.62
{txt}Log pseudolikelihood =   {res}-25.157394                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 88:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                    _t{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}impratewithoutext {c |}{col 24}{res}{space 2} .0552832{col 36}{space 2} .0135276{col 47}{space 1}    4.09{col 56}{space 3}0.000{col 64}{space 4} .0287696{col 77}{space 3} .0817968
{txt}{space 13}dead_1000 {c |}{col 24}{res}{space 2}-.0001846{col 36}{space 2} .0009505{col 47}{space 1}   -0.19{col 56}{space 3}0.846{col 64}{space 4}-.0020475{col 77}{space 3} .0016783
{txt}{space 10}refugee_1000 {c |}{col 24}{res}{space 2}-.0014515{col 36}{space 2} .0005805{col 47}{space 1}   -2.50{col 56}{space 3}0.012{col 64}{space 4}-.0025892{col 77}{space 3}-.0003138
{txt}{space 8}war_dur_months {c |}{col 24}{res}{space 2} .0046305{col 36}{space 2} .0033123{col 47}{space 1}    1.40{col 56}{space 3}0.162{col 64}{space 4}-.0018615{col 77}{space 3} .0111225
{txt}{space 11}infant_rate {c |}{col 24}{res}{space 2} .0029119{col 36}{space 2} .0065852{col 47}{space 1}    0.44{col 56}{space 3}0.658{col 64}{space 4}-.0099948{col 77}{space 3} .0158187
{txt}{space 9}polity_2_1lag {c |}{col 24}{res}{space 2} .0257296{col 36}{space 2} .0460712{col 47}{space 1}    0.56{col 56}{space 3}0.577{col 64}{space 4}-.0645682{col 77}{space 3} .1160274
{txt}gdp_growth_annual_perc {c |}{col 24}{res}{space 2}-.0134159{col 36}{space 2} .0091012{col 47}{space 1}   -1.47{col 56}{space 3}0.140{col 64}{space 4} -.031254{col 77}{space 3} .0044222
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}-.6756541{col 36}{space 2} 1.116307{col 47}{space 1}   -0.61{col 56}{space 3}0.545{col 64}{space 4}-2.863575{col 77}{space 3} 1.512267
{txt}{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                 /ln_p {c |}{col 24}{res}{space 2} .3857615{col 36}{space 2} .1459569{col 47}{space 1}    2.64{col 56}{space 3}0.008{col 64}{space 4} .0996912{col 77}{space 3} .6718318
{txt}{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                     p{col 24}{c |}{res}{space 2} 1.470734{col 36}{space 2} .2146638{col 64}{space 4}  1.10483{col 77}{space 3}  1.95782
{col 1}{txt}                   1/p{col 24}{c |}{res}{space 2} .6799326{col 36}{space 2} .0992409{col 64}{space 4} .5107721{col 77}{space 3} .9051169
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. streg  impratewithoutext dead_1000  refugee_1000  war_dur  polity_2_1lag unpkf_implem net_aid total_prov media_ave if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}nonsig_minor_war
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-38.395158
{txt}Iteration 1:   log pseudolikelihood = {res}-37.203155
{txt}Iteration 2:   log pseudolikelihood = {res}-37.161352
{txt}Iteration 3:   log pseudolikelihood = {res}  -37.1613
{txt}Iteration 4:   log pseudolikelihood = {res}  -37.1613

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:  -37.1613}  
Iteration 1:{space 3}log pseudolikelihood = {res:-32.643678}  (not concave)
Iteration 2:{space 3}log pseudolikelihood = {res:-22.263806}  
Iteration 3:{space 3}log pseudolikelihood = {res:-21.134122}  
Iteration 4:{space 3}log pseudolikelihood = {res:-21.019412}  
Iteration 5:{space 3}log pseudolikelihood = {res:-21.018569}  
Iteration 6:{space 3}log pseudolikelihood = {res:-21.018569}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          33                {txt}Number of obs   ={res}       201
{txt}No. of failures      = {res}          11
{txt}Time at risk         = {res}         201
                                                   {txt}Wald chi2({res}9{txt})    ={res}    134.23
{txt}Log pseudolikelihood =   {res}-21.018569                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 83:(Std. Err. adjusted for {res:29} clusters in cowcode)}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}               _t{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
impratewithoutext {c |}{col 19}{res}{space 2} .0465341{col 31}{space 2} .0061953{col 42}{space 1}    7.51{col 51}{space 3}0.000{col 59}{space 4} .0343916{col 72}{space 3} .0586767
{txt}{space 8}dead_1000 {c |}{col 19}{res}{space 2} .0000983{col 31}{space 2} .0005685{col 42}{space 1}    0.17{col 51}{space 3}0.863{col 59}{space 4}-.0010159{col 72}{space 3} .0012125
{txt}{space 5}refugee_1000 {c |}{col 19}{res}{space 2}-.0007287{col 31}{space 2}  .000778{col 42}{space 1}   -0.94{col 51}{space 3}0.349{col 59}{space 4}-.0022536{col 72}{space 3} .0007962
{txt}{space 3}war_dur_months {c |}{col 19}{res}{space 2} .0034448{col 31}{space 2} .0020113{col 42}{space 1}    1.71{col 51}{space 3}0.087{col 59}{space 4}-.0004973{col 72}{space 3} .0073869
{txt}{space 4}polity_2_1lag {c |}{col 19}{res}{space 2} .0083981{col 31}{space 2} .0672689{col 42}{space 1}    0.12{col 51}{space 3}0.901{col 59}{space 4}-.1234466{col 72}{space 3} .1402428
{txt}{space 5}unpkf_implem {c |}{col 19}{res}{space 2} .0199665{col 31}{space 2} .2313783{col 42}{space 1}    0.09{col 51}{space 3}0.931{col 59}{space 4}-.4335266{col 72}{space 3} .4734596
{txt}{space 10}net_aid {c |}{col 19}{res}{space 2}-.0004577{col 31}{space 2} .0001254{col 42}{space 1}   -3.65{col 51}{space 3}0.000{col 59}{space 4}-.0007035{col 72}{space 3}-.0002119
{txt}{space 7}total_prov {c |}{col 19}{res}{space 2}-.0614067{col 31}{space 2} .0350953{col 42}{space 1}   -1.75{col 51}{space 3}0.080{col 59}{space 4}-.1301923{col 72}{space 3} .0073788
{txt}{space 8}media_ave {c |}{col 19}{res}{space 2}-.0002979{col 31}{space 2} .0003718{col 42}{space 1}   -0.80{col 51}{space 3}0.423{col 59}{space 4}-.0010267{col 72}{space 3} .0004308
{txt}{space 12}_cons {c |}{col 19}{res}{space 2} 1.268173{col 31}{space 2}  .672553{col 42}{space 1}    1.89{col 51}{space 3}0.059{col 59}{space 4}-.0500071{col 72}{space 3} 2.586352
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
            /ln_p {c |}{col 19}{res}{space 2} .6834816{col 31}{space 2} .2377956{col 42}{space 1}    2.87{col 51}{space 3}0.004{col 59}{space 4} .2174107{col 72}{space 3} 1.149552
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                p{col 19}{c |}{res}{space 2} 1.980762{col 31}{space 2} .4710165{col 59}{space 4} 1.242854{col 72}{space 3}  3.15678
{col 1}{txt}              1/p{col 19}{c |}{res}{space 2} .5048562{col 31}{space 2} .1200526{col 59}{space 4} .3167785{col 72}{space 3} .8045994
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. 
. 
. //pairwise correlation of implementation without external actors related provisions and external actor related provisions
. 
. pwcorr impratewithoutext ext_imprate, star(0.0001)

             {txt}{c |} imprat~t ext_im~e
{hline 13}{c +}{hline 18}
impratewit~t {c |} {res}  1.0000 
 {txt}ext_imprate {c |} {res}  0.6748*  1.0000 
{txt}
{com}. 
. 
. ///Online Appendix C
> //REplication of Model 1 in Table 2 and 3 with index of implementation of provisions without external actors, and having implementation of external actors related proviisons in the model
. //Between Signatories
. drop  _st _d _t _t0
{txt}
{com}. stset year_count, id(caseid) failure( sig_minor_war) origin(time year_count)

                {txt}id:  {res}caseid
     {txt}failure event:  {res}sig_minor_war != 0 & sig_minor_war < .
{txt}obs. time interval:  {res}(year_count[_n-1], year_count]
{txt} exit on or before:  {res}failure
    {txt}t for analysis:  {res}(time-origin)
            {txt}origin:  {res}time year_count

{txt}{hline 78}
{res}      340{txt}  total observations
{res}       34{txt}  observations end on or before enter()
{res}       70{txt}  observations begin on or after (first) failure
{hline 78}
{res}      236{txt}  observations remaining, representing
{res}       34{txt}  subjects
{res}       10{txt}  failures in single-failure-per-subject data
{res}      236{txt}  total analysis time at risk and under observation
                                              at risk from t = {res}        0
                                   {txt}earliest observed entry t = {res}        0
                                        {txt}last observed exit t = {res}        9
{txt}
{com}. streg  ext_imprate conflict_type dead_1000  refugee_1000  war_dur  infant_rate if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}sig_minor_war
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-36.770522
{txt}Iteration 1:   log pseudolikelihood = {res}-35.596471
{txt}Iteration 2:   log pseudolikelihood = {res}-35.547671
{txt}Iteration 3:   log pseudolikelihood = {res}-35.547589
{txt}Iteration 4:   log pseudolikelihood = {res}-35.547589

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-35.547589}  
Iteration 1:{space 3}log pseudolikelihood = {res:-34.764087}  
Iteration 2:{space 3}log pseudolikelihood = {res:-27.465626}  
Iteration 3:{space 3}log pseudolikelihood = {res:-25.727212}  
Iteration 4:{space 3}log pseudolikelihood = {res:-25.658576}  
Iteration 5:{space 3}log pseudolikelihood = {res:-25.658277}  
Iteration 6:{space 3}log pseudolikelihood = {res:-25.658277}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       219
{txt}No. of failures      = {res}          10
{txt}Time at risk         = {res}         219
                                                   {txt}Wald chi2({res}6{txt})    ={res}     38.52
{txt}Log pseudolikelihood =   {res}-25.658277                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 80:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}    Robust
{col 1}            _t{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      z{col 48}   P>|z|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}ext_imprate {c |}{col 16}{res}{space 2} .0090189{col 28}{space 2} .0057134{col 39}{space 1}    1.58{col 48}{space 3}0.114{col 56}{space 4}-.0021792{col 69}{space 3}  .020217
{txt}{space 1}conflict_type {c |}{col 16}{res}{space 2} 1.632845{col 28}{space 2} 1.067383{col 39}{space 1}    1.53{col 48}{space 3}0.126{col 56}{space 4}-.4591872{col 69}{space 3} 3.724877
{txt}{space 5}dead_1000 {c |}{col 16}{res}{space 2}-.0009074{col 28}{space 2} .0004562{col 39}{space 1}   -1.99{col 48}{space 3}0.047{col 56}{space 4}-.0018017{col 69}{space 3}-.0000132
{txt}{space 2}refugee_1000 {c |}{col 16}{res}{space 2} .0020999{col 28}{space 2} .0007024{col 39}{space 1}    2.99{col 48}{space 3}0.003{col 56}{space 4} .0007233{col 69}{space 3} .0034765
{txt}war_dur_months {c |}{col 16}{res}{space 2}-.0025611{col 28}{space 2} .0040405{col 39}{space 1}   -0.63{col 48}{space 3}0.526{col 56}{space 4}-.0104804{col 69}{space 3} .0053582
{txt}{space 3}infant_rate {c |}{col 16}{res}{space 2}-.0361673{col 28}{space 2} .0109448{col 39}{space 1}   -3.30{col 48}{space 3}0.001{col 56}{space 4}-.0576187{col 69}{space 3}-.0147159
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}  4.65551{col 28}{space 2} 1.726761{col 39}{space 1}    2.70{col 48}{space 3}0.007{col 56}{space 4}  1.27112{col 69}{space 3}   8.0399
{txt}{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
         /ln_p {c |}{col 16}{res}{space 2} .1459399{col 28}{space 2} .1864196{col 39}{space 1}    0.78{col 48}{space 3}0.434{col 56}{space 4}-.2194359{col 69}{space 3} .5113156
{txt}{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}             p{col 16}{c |}{res}{space 2} 1.157127{col 28}{space 2} .2157111{col 56}{space 4} .8029716{col 69}{space 3} 1.667484
{col 1}{txt}           1/p{col 16}{c |}{res}{space 2} .8642097{col 28}{space 2} .1611057{col 56}{space 4} .5997061{col 69}{space 3} 1.245374
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. streg  impratewithoutext ext_imprate conflict_type dead_1000  refugee_1000  war_dur  infant_rate if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}sig_minor_war
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-36.770522
{txt}Iteration 1:   log pseudolikelihood = {res}-35.596471
{txt}Iteration 2:   log pseudolikelihood = {res}-35.547671
{txt}Iteration 3:   log pseudolikelihood = {res}-35.547589
{txt}Iteration 4:   log pseudolikelihood = {res}-35.547589

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-35.547589}  
Iteration 1:{space 3}log pseudolikelihood = {res:-25.509432}  
Iteration 2:{space 3}log pseudolikelihood = {res: -21.80224}  
Iteration 3:{space 3}log pseudolikelihood = {res: -20.67754}  
Iteration 4:{space 3}log pseudolikelihood = {res:-20.609858}  
Iteration 5:{space 3}log pseudolikelihood = {res:-20.609674}  
Iteration 6:{space 3}log pseudolikelihood = {res:-20.609674}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       219
{txt}No. of failures      = {res}          10
{txt}Time at risk         = {res}         219
                                                   {txt}Wald chi2({res}7{txt})    ={res}    152.87
{txt}Log pseudolikelihood =   {res}-20.609674                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 83:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}               _t{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
impratewithoutext {c |}{col 19}{res}{space 2} .0381542{col 31}{space 2} .0094249{col 42}{space 1}    4.05{col 51}{space 3}0.000{col 59}{space 4} .0196817{col 72}{space 3} .0566267
{txt}{space 6}ext_imprate {c |}{col 19}{res}{space 2}-.0053395{col 31}{space 2} .0033493{col 42}{space 1}   -1.59{col 51}{space 3}0.111{col 59}{space 4}-.0119039{col 72}{space 3} .0012249
{txt}{space 4}conflict_type {c |}{col 19}{res}{space 2} 1.230453{col 31}{space 2} .6831062{col 42}{space 1}    1.80{col 51}{space 3}0.072{col 59}{space 4}-.1084106{col 72}{space 3} 2.569317
{txt}{space 8}dead_1000 {c |}{col 19}{res}{space 2}-.0009871{col 31}{space 2} .0004439{col 42}{space 1}   -2.22{col 51}{space 3}0.026{col 59}{space 4}-.0018571{col 72}{space 3}-.0001171
{txt}{space 5}refugee_1000 {c |}{col 19}{res}{space 2} .0012086{col 31}{space 2} .0006671{col 42}{space 1}    1.81{col 51}{space 3}0.070{col 59}{space 4} -.000099{col 72}{space 3} .0025161
{txt}{space 3}war_dur_months {c |}{col 19}{res}{space 2} .0021624{col 31}{space 2} .0035902{col 42}{space 1}    0.60{col 51}{space 3}0.547{col 59}{space 4}-.0048744{col 72}{space 3} .0091991
{txt}{space 6}infant_rate {c |}{col 19}{res}{space 2}-.0100861{col 31}{space 2} .0082793{col 42}{space 1}   -1.22{col 51}{space 3}0.223{col 59}{space 4}-.0263132{col 72}{space 3}  .006141
{txt}{space 12}_cons {c |}{col 19}{res}{space 2} .6687034{col 31}{space 2} 1.417954{col 42}{space 1}    0.47{col 51}{space 3}0.637{col 59}{space 4}-2.110435{col 72}{space 3} 3.447842
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
            /ln_p {c |}{col 19}{res}{space 2} .5677948{col 31}{space 2} .1853089{col 42}{space 1}    3.06{col 51}{space 3}0.002{col 59}{space 4} .2045959{col 72}{space 3} .9309936
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                p{col 19}{c |}{res}{space 2} 1.764372{col 31}{space 2} .3269539{col 59}{space 4} 1.227029{col 72}{space 3} 2.537029
{col 1}{txt}              1/p{col 19}{c |}{res}{space 2} .5667739{col 31}{space 2} .1050283{col 59}{space 4} .3941619{col 72}{space 3} .8149766
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. //Between non-sig
. drop  _st _d _t _t0
{txt}
{com}. stset year_count, id(caseid) failure(nonsig_minor_war) origin(time year_count)

                {txt}id:  {res}caseid
     {txt}failure event:  {res}nonsig_minor_war != 0 & nonsig_minor_war < .
{txt}obs. time interval:  {res}(year_count[_n-1], year_count]
{txt} exit on or before:  {res}failure
    {txt}t for analysis:  {res}(time-origin)
            {txt}origin:  {res}time year_count

{txt}{hline 78}
{res}      340{txt}  total observations
{res}       34{txt}  observations end on or before enter()
{res}       79{txt}  observations begin on or after (first) failure
{hline 78}
{res}      227{txt}  observations remaining, representing
{res}       34{txt}  subjects
{res}       11{txt}  failures in single-failure-per-subject data
{res}      227{txt}  total analysis time at risk and under observation
                                              at risk from t = {res}        0
                                   {txt}earliest observed entry t = {res}        0
                                        {txt}last observed exit t = {res}        9
{txt}
{com}. streg  ext_imprate conflict_type dead_1000  refugee_1000  war_dur  infant_rate if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}nonsig_minor_war
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-38.929243
{txt}Iteration 1:   log pseudolikelihood = {res}-37.749712
{txt}Iteration 2:   log pseudolikelihood = {res}-37.709275
{txt}Iteration 3:   log pseudolikelihood = {res}-37.709227
{txt}Iteration 4:   log pseudolikelihood = {res}-37.709227

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-37.709227}  
Iteration 1:{space 3}log pseudolikelihood = {res: -34.20096}  
Iteration 2:{space 3}log pseudolikelihood = {res: -30.82689}  
Iteration 3:{space 3}log pseudolikelihood = {res: -30.75653}  
Iteration 4:{space 3}log pseudolikelihood = {res:-30.756052}  
Iteration 5:{space 3}log pseudolikelihood = {res:-30.756052}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       211
{txt}No. of failures      = {res}          11
{txt}Time at risk         = {res}         211
                                                   {txt}Wald chi2({res}6{txt})    ={res}     46.51
{txt}Log pseudolikelihood =   {res}-30.756052                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 80:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}    Robust
{col 1}            _t{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      z{col 48}   P>|z|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}ext_imprate {c |}{col 16}{res}{space 2} .0265163{col 28}{space 2} .0158445{col 39}{space 1}    1.67{col 48}{space 3}0.094{col 56}{space 4}-.0045383{col 69}{space 3} .0575709
{txt}{space 1}conflict_type {c |}{col 16}{res}{space 2} .5164138{col 28}{space 2} 1.214117{col 39}{space 1}    0.43{col 48}{space 3}0.671{col 56}{space 4}-1.863213{col 69}{space 3}  2.89604
{txt}{space 5}dead_1000 {c |}{col 16}{res}{space 2} .0021319{col 28}{space 2} .0038301{col 39}{space 1}    0.56{col 48}{space 3}0.578{col 56}{space 4}-.0053749{col 69}{space 3} .0096387
{txt}{space 2}refugee_1000 {c |}{col 16}{res}{space 2}-.0025085{col 28}{space 2} .0021856{col 39}{space 1}   -1.15{col 48}{space 3}0.251{col 56}{space 4}-.0067922{col 69}{space 3} .0017752
{txt}war_dur_months {c |}{col 16}{res}{space 2}   .00075{col 28}{space 2} .0050937{col 39}{space 1}    0.15{col 48}{space 3}0.883{col 56}{space 4}-.0092335{col 69}{space 3} .0107336
{txt}{space 3}infant_rate {c |}{col 16}{res}{space 2}-.0129406{col 28}{space 2} .0153811{col 39}{space 1}   -0.84{col 48}{space 3}0.400{col 56}{space 4} -.043087{col 69}{space 3} .0172059
{txt}{space 9}_cons {c |}{col 16}{res}{space 2} 2.639084{col 28}{space 2} 2.488746{col 39}{space 1}    1.06{col 48}{space 3}0.289{col 56}{space 4}-2.238769{col 69}{space 3} 7.516937
{txt}{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
         /ln_p {c |}{col 16}{res}{space 2} -.108887{col 28}{space 2} .2989681{col 39}{space 1}   -0.36{col 48}{space 3}0.716{col 56}{space 4}-.6948537{col 69}{space 3} .4770796
{txt}{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}             p{col 16}{c |}{res}{space 2} .8968317{col 28}{space 2}  .268124{col 56}{space 4} .4991475{col 69}{space 3} 1.611362
{col 1}{txt}           1/p{col 16}{c |}{res}{space 2} 1.115036{col 28}{space 2} .3333603{col 56}{space 4} .6205931{col 69}{space 3} 2.003416
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. streg  impratewithoutext ext_imprate conflict_type dead_1000  refugee_1000  war_dur  infant_rate if  exclude_cases==0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}nonsig_minor_war
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-38.929243
{txt}Iteration 1:   log pseudolikelihood = {res}-37.749712
{txt}Iteration 2:   log pseudolikelihood = {res}-37.709275
{txt}Iteration 3:   log pseudolikelihood = {res}-37.709227
{txt}Iteration 4:   log pseudolikelihood = {res}-37.709227

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-37.709227}  
Iteration 1:{space 3}log pseudolikelihood = {res:-37.576014}  
Iteration 2:{space 3}log pseudolikelihood = {res:-25.799048}  
Iteration 3:{space 3}log pseudolikelihood = {res:-25.661413}  
Iteration 4:{space 3}log pseudolikelihood = {res:-25.660083}  
Iteration 5:{space 3}log pseudolikelihood = {res:-25.660083}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       211
{txt}No. of failures      = {res}          11
{txt}Time at risk         = {res}         211
                                                   {txt}Wald chi2({res}7{txt})    ={res}     67.66
{txt}Log pseudolikelihood =   {res}-25.660083                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 83:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}               _t{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
impratewithoutext {c |}{col 19}{res}{space 2} .0528394{col 31}{space 2} .0163157{col 42}{space 1}    3.24{col 51}{space 3}0.001{col 59}{space 4} .0208612{col 72}{space 3} .0848175
{txt}{space 6}ext_imprate {c |}{col 19}{res}{space 2} .0029583{col 31}{space 2} .0062898{col 42}{space 1}    0.47{col 51}{space 3}0.638{col 59}{space 4}-.0093694{col 72}{space 3}  .015286
{txt}{space 4}conflict_type {c |}{col 19}{res}{space 2} .0726977{col 31}{space 2} .8117982{col 42}{space 1}    0.09{col 51}{space 3}0.929{col 59}{space 4}-1.518397{col 72}{space 3} 1.663793
{txt}{space 8}dead_1000 {c |}{col 19}{res}{space 2} -.000163{col 31}{space 2} .0010305{col 42}{space 1}   -0.16{col 51}{space 3}0.874{col 59}{space 4}-.0021827{col 72}{space 3} .0018568
{txt}{space 5}refugee_1000 {c |}{col 19}{res}{space 2}-.0016551{col 31}{space 2} .0006728{col 42}{space 1}   -2.46{col 51}{space 3}0.014{col 59}{space 4}-.0029737{col 72}{space 3}-.0003365
{txt}{space 3}war_dur_months {c |}{col 19}{res}{space 2} .0046907{col 31}{space 2} .0038064{col 42}{space 1}    1.23{col 51}{space 3}0.218{col 59}{space 4}-.0027696{col 72}{space 3}  .012151
{txt}{space 6}infant_rate {c |}{col 19}{res}{space 2} .0026641{col 31}{space 2} .0089139{col 42}{space 1}    0.30{col 51}{space 3}0.765{col 59}{space 4}-.0148067{col 72}{space 3} .0201349
{txt}{space 12}_cons {c |}{col 19}{res}{space 2}-.6584797{col 31}{space 2} 1.630824{col 42}{space 1}   -0.40{col 51}{space 3}0.686{col 59}{space 4}-3.854836{col 72}{space 3} 2.537877
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
            /ln_p {c |}{col 19}{res}{space 2} .3277237{col 31}{space 2} .2074482{col 42}{space 1}    1.58{col 51}{space 3}0.114{col 59}{space 4}-.0788673{col 72}{space 3} .7343147
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                p{col 19}{c |}{res}{space 2} 1.387805{col 31}{space 2} .2878978{col 59}{space 4} .9241625{col 72}{space 3} 2.084053
{col 1}{txt}              1/p{col 19}{c |}{res}{space 2} .7205621{col 31}{space 2} .1494793{col 59}{space 4} .4798342{col 72}{space 3} 1.082061
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. 
. //Code for Figure 1.
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==1, title("Guatemala")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case1.gph", replace
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==2, title("El Salvador")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case2.gph", replace
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==3, title("Northern Ireland")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case3.gph", replace
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==4, title("Macedonia")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case4.gph", replace
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==5, title("Croatia")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case5.gph", replace
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==6, title("Bosnia")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case6.gph", replace
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==7, title("Guinea-Bissau")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case7.gph", replace
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==8, title("Mali")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case8.gph", replace
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==9, title("Senegal")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case9.gph", replace
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==10, title("Niger")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case10.gph", replace
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==11, title("Ivory Coast")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case11.gph", replace
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==12, title("Liberia")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case12.gph", replace
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==13, title("Sierra Leone 1996")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case13.gph", replace
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==14, title("Sierra Leone 1999")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case14.gph", replace
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==15, title("Congo-Brazzaville")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case15.gph", replace
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==16, title("Burundi")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case16.gph", replace
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==17, title("Rwanda")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case17.gph", replace
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==18, title("Djibouti 1994")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case18.gph", replace
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==19, title("Djibouti 2001")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case19.gph", replace
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==20, title("Angola 94")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case20.gph", replace
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==21, title("Angola 2002")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case21.gph", replace
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==22, title("Mozambique")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case22.gph", replace
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==23, title("South Africa")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case23.gph", replace
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==24, title("Sudan")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case24.gph", replace
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==25, title("Lebanon")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case25.gph", replace
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==26, title("Tajikistan")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case26.gph", replace
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==27, title("India")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case27.gph", replace
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==28, title("Bangladesh")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case28.gph", replace
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==29, title("Nepal")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case29.gph", replace
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==30, title("Cambodia")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case30.gph", replace
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==31, title("Philippines")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case31.gph", replace
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==32, title("Indonesia")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case32.gph", replace
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==33, title("East Timor")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case33.gph", replace
. 
. line  agg_imp_rate year_count if  exclude_cases!=1 & caseid==34, title("Papua New Guinea")
{res}{txt}
{com}. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case34.gph", replace
. 
. //Combine Graphs
. //graph combine "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case1.gph" "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case2.gph""C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case3.gph""C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case4.gph""C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case5.gph""C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case6.gph""C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case7.gph""C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case8.gph""C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case9.gph""C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case10.gph""C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case11.gph""C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case12.gph""C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case13.gph""C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case14.gph""C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case15.gph""C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case16.gph""C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case17.gph""C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case18.gph""C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case19.gph""C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case20.gph""C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case21.gph""C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case22.gph""C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case23.gph""C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case24.gph""C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case25.gph""C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case26.gph""C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case26.gph""C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case28.gph""C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case29.gph""C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case30.gph""C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case31.gph""C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case32.gph""C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case33.gph""C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\case34.gph", ycommon
. //graph save Graph "C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Figures\all graphs", replace
. 
. 
. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\Implementation IV\Data and Do files\Gray figures\Implementing Peace result logs.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res} 2 Jun 2015, 16:42:17
{txt}{.-}
{smcl}
{txt}{sf}{ul off}